package com.docker.demo.controller;

import cn.hutool.core.date.DateUtil;
import cn.hutool.core.util.PinyinUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.*;

import java.util.Date;


/**
 * @Author: luojiang
 * @Date: 2022-01-18 14:49
 * @Description:
 */
@RestController()
@Slf4j
@RequestMapping("/docker")
public class DockerController {

    @GetMapping("/demo")
    public String docker(String param) {
        log.info("入参【{}】", param);


        log.trace("--> Hello trace.");
        log.debug("--> Hello debug.");
        log.info("--> Hello info.");
        log.warn("--> Goodbye warn.");
        log.error("--> Goodbye error.");
        return param;
    }

}
